>> format compact
>> exist (int16([]))
ans =
0
>> exist (int16([]), '')
ans =
0
>> exist (int16([]), rand(3))
ans =
0
>> exist (int16([]), table())
ans =
0
>> exist (int16([]), table({'foo','bar'}))
ans =
0
>> exist (table())
Error using exist
The first input to exist must be a string scalar or character vector.
>> exist (table(), '')
ans =
0
>> exist (table(), rand(3))
Error using exist
The first input to exist must be a string scalar or character vector.
>> exist (table(), table())
Error using exist
The first input to exist must be a string scalar or character vector.
>> exist (table(), table({'foo', 'bar}))
exist (table(), table({'foo', 'bar}))
↑
Error: Character vector is not terminated properly.
>> exist (table(), table({'foo', 'bar'}))
Error using exist
The first input to exist must be a string scalar or character vector.
>>
|